<!DOCTYPE html>
<html lang="en">
{include file="public/head" /}
<link href="{$Think.TPL_PATH}tpl/zanpianadmin/css/login.min.css" rel="stylesheet">
<body class="signin">
<div class="signinpanel">
    <div class="row">
        <div class="signin-login">
            <div class="form">
                <form id="myform"  method="post" action="{:url('admin/login/index')}">
                <div class="title">{$site['site_name']}</div>
                <div class="form-group"><input type="text" class="form-control username" required="required" placeholder="用户名或邮箱" name="username"/></div>
                <div class="form-group"><input type="password" class="form-control password" required="required" placeholder="密码" name="password"/></div>
                {notempty name="system['system_verify']" value="cache_password"}
                <div class="form-group" style="position:relative">
                <input required="required" pattern="^\S{3,}$" name="verify" value="" type="text" autocomplete="off" title="请输入3位及以上的字符" placeholder="请输入验证码" class="form-control verify">
                <img id="verify" src="{:captcha_src()}" alt="验证码" height="35" width="120" style="cursor: pointer; position:absolute; right:0px; top:0px;"/>
                </div>
                {/notempty}
                <div class="form-group" style="padding-top:15px;">
                <button type="submit" class="btn btn-success btn-block">登录</button>

                </div>
                </form>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script type="text/javascript">
$(document).ready(function(){
           zanpian.cms.login();							   
});	
</script>
</body>
</html>